#include <iostream>
#include "opencv2/opencv.hpp"
#include "frame2video.h"
#include "read_video.h"

int main() {
    char *frame_path = "/mnt/data1/Pictures";
    char *video_path_name = "/mnt/data1/Videos/pose.mp4";
//    fream2video(frame_path,video_path_name);

    std::string src,dst;

    src = "/home/accer/project/rich-demo-yolo7-train/makemodel/runs/predict-seg/exp34/grass2.mp4";
    dst = "../grass2_save.mp4";

    src = "/home/accer/project/rich-demo-yolo7-train/makemodel/runs/predict-seg/exp31/grass5.mp4";
    dst = "../grass5_save.mp4";

    src = "/home/accer/project/rich-demo-yolo7-train/makemodel/runs/predict-seg/exp32/grass1.mp4";
    dst = "../grass1_save.mp4";

    src = "/home/accer/project/rich-demo-yolo7-train/makemodel/runs/predict-seg/exp33/grass4.mp4";
    dst = "../grass4_save.mp4";

    src = "/home/accer/project/rich-demo-yolo7-train/makemodel/runs/predict-seg/exp35/grass3.mp4";
    dst = "../grass3_save.mp4";

    read_video(src,dst);
    return 0;
}
